* {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 头部*/
.header {
  height: 320px;
  width: 100%;
  background-color: #f4f4f4;
  font-size: 12px;
}
.public-top {
  padding: 12px 0;
  width: 100%;
  height: 20px;
}
.public-top-mian {
  margin: 0 auto;
  width: 1200px;
}
.public-top-left {
  float: left;
}
.public-top-link:nth-child(1) {
  margin-left: 12px;
}
.public-top-link {
  color: black;
  text-decoration: none;
}
.public-top-right {
  float: right;
}
.public-top-right-link {
  margin: 0 25px;
  color: #000;
  text-decoration: none;
}
.ptrl {
  margin-right: 0;
}
.public-top-right-link img {
  margin-right: 2px;
  width: 14px;
  position: relative;
  top: 3px;
}

.public-head-warp {
  padding-top: 40px;
  padding-bottom: 16px;
  height: 100px;
  background-color: #fff;
}
.public-header {
  display: flex;
  margin: 0 auto;
  height: 84px;
  width: 1200px;
}
.text-lg {
  width: 445px;
  height: 84px;
}
.text-lg a img {
  width: 446px;
  position: relative;
  top: 10px;
}
.top-search {
  margin-left: 36px;
  width: 570px;
  height: 84px;
}
.top-search-box {
  height: 44px;
  width: 460px;
  border-radius: 3px;
  background-color: #2e8fff;
  border: 2px solid #2e8fff;
}
/* .top-search-box-f {
  display: flex;
  height: 44px;
  width: 460px;
} */
.py-1 {
  padding: 0.25rem 1rem;
  position: relative;
  top: -18px;
  box-sizing: border-box;
  height: 44px;
  width: 410px;
  border: 0;
}
.submit-btn {
  width: 46px;
  height: 44px;
  border: 0;
  background: #2e8fff
    url(https://www.szsmyg.com/images/index/header/icon_sousuo.png);
}
.my-cart {
  width: 146px;
  height: 38px;
  background-color: orange;
}
/*头部结束*/

.h-center {
  margin: 0 auto;
  height: 100px;
  width: 1200px;
  background-color: khaki;
}

.main {
  height: 4120px;
  width: 100%;
  background-color: #f4f4f4;
}

.m-center {
  margin: 0 auto;
  width: 1200px;
  height: 4120px;
  background-color: cadetblue;
}
.main-nav {
  display: flex;
  width: 100%;
  height: 588px;
  background-color: skyblue;
}
.m-left {
  width: 240px;
  height: 588px;
  background-color: #fff;
}
.m-cen {
  width: 720px;
  height: 576px;
  background-color: #2e8fff;
}
.m-rig {
  width: 240px;
  height: 576px;
  background-color: honeydew;
}
.sub-item {
  position: relative;
}

.sub-item-link:hover {
  color: rgba(59, 130, 246, 0.5);
  background-color: #e6f6ff;
}
.sub-item-link {
  display: flex;
  padding: 8px 16px;
  width: 208px;
  height: 20px;
  font-size: 13px;
  color: #000;
  text-decoration: none;
  /* background-color: skyblue; */
}
.sub-item-l {
  display: block;
  margin-right: 16px;
  width: 20px;
  height: 20px;
  background: url(https://www.szsmyg.com/images/index/index-carousel/hot-icon.png)
    no-repeat -3px -2px;
}
.sub-item-r {
  display: block;
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  transition: all 0.5s;
  background: url(https://szsmyg.oss-cn-shenzhen.aliyuncs.com/mat/src/images/img/szsmyg-classify-right.png)
    no-repeat 50%;
  background-size: 80% 80%;
}
.sub-item-link:hover .sub-item-r {
  right: -20px;
}
.sub-item:hover .sub2-menu {
  display: block;
}
.sub2-menu {
  position: absolute;
  left: 240px;
  top: 0px;
  display: none;
  width: 720px;
  height: 576px;
  background-color: red;
}
.footer {
  height: 810px;
  width: 100%;
  background-color: #f4f4f4;
}

.f-center {
  margin: 0 auto;
  width: 1200px;
  height: 300px;
  background-color: skyblue;
}
